<template>
    <div>
        <el-select v-bind="$attrs">
            <el-option v-for="item in options" :key="item.id" :label="item.topoName"
                :value="item.id" />
        </el-select>
    </div>
</template>
<script setup>
import { select } from '@/api/operate/project-management/projectManagement/setting';
import {ref} from 'vue'
import { usePageVariablesStoreHook } from '@/store/modules/pageVariables'
const operate = usePageVariablesStoreHook().getOperate()
const options = ref([])
select({projectId:operate.checkedProject}).then(res => {
    options.value = res.result.data
    console.log("options.value",options.value);
})

</script>
<style lang="scss" scoped></style>